#include <gen_matrix_map.hpp>
Public Member Functions | |
GenMatrixMap (boost::shared_ptr< _network > network) | |
~GenMatrixMap () | |
boost::shared_ptr < gridpack::math::Matrix > | mapToMatrix (void) |
gridpack::math::Matrix * | intMapToMatrix (void) |
void | mapToMatrix (gridpack::math::Matrix &matrix) |
void | mapToMatrix (boost::shared_ptr< gridpack::math::Matrix > &matrix) |
void | overwriteMatrix (gridpack::math::Matrix &matrix) |
void | overwriteMatrix (boost::shared_ptr< gridpack::math::Matrix > &matrix) |
void | incrementMatrix (gridpack::math::Matrix &matrix) |
void | incrementMatrix (boost::shared_ptr< gridpack::math::Matrix > &matrix) |
gridpack::mapper::GenMatrixMap< _network >::GenMatrixMap | ( | boost::shared_ptr< _network > | network | ) |
gridpack::mapper::GenMatrixMap< _network >::~GenMatrixMap | ( | ) |
void gridpack::mapper::GenMatrixMap< _network >::incrementMatrix | ( | boost::shared_ptr< gridpack::math::Matrix > & | matrix | ) |
Increment elements of existing matrix. This can be used to increment selected elements of a matrix
matrix | existing matrix (should be generated from same mapper) |
References gridpack::mapper::GenMatrixMap< _network >::incrementMatrix().
void gridpack::mapper::GenMatrixMap< _network >::incrementMatrix | ( | gridpack::math::Matrix & | matrix | ) |
Increment elements of existing matrix. This can be used to increment selected elements of a matrix
matrix | existing matrix (should be generated from same mapper) |
References gridpack::math::BaseMatrixInterface< T, I >::ready().
gridpack::math::Matrix* gridpack::mapper::GenMatrixMap< _network >::intMapToMatrix | ( | void | ) |
Generate matrix from current component state on network and return a conventional pointer to it. Used for Fortran interface
References gridpack::math::BaseMatrixInterface< T, I >::ready().
void gridpack::mapper::GenMatrixMap< _network >::mapToMatrix | ( | boost::shared_ptr< gridpack::math::Matrix > & | matrix | ) |
Reset existing matrix from current component state on network
matrix | existing matrix (should be generated from same mapper) |
References gridpack::mapper::GenMatrixMap< _network >::mapToMatrix().
void gridpack::mapper::GenMatrixMap< _network >::mapToMatrix | ( | gridpack::math::Matrix & | matrix | ) |
Reset existing matrix from current component state on network
matrix | existing matrix (should be generated from same mapper) |
References gridpack::math::BaseMatrixInterface< T, I >::ready(), and gridpack::math::BaseMatrixInterface< T, I >::zero().
boost::shared_ptr<gridpack::math::Matrix> gridpack::mapper::GenMatrixMap< _network >::mapToMatrix | ( | void | ) |
void gridpack::mapper::GenMatrixMap< _network >::overwriteMatrix | ( | boost::shared_ptr< gridpack::math::Matrix > & | matrix | ) |
Overwrite elements of existing matrix. This can be used to overwrite selected elements of a matrix
matrix | existing matrix (should be generated from same mapper) |
References gridpack::mapper::GenMatrixMap< _network >::overwriteMatrix().
void gridpack::mapper::GenMatrixMap< _network >::overwriteMatrix | ( | gridpack::math::Matrix & | matrix | ) |
Overwrite elements of existing matrix. This can be used to overwrite selected elements of a matrix
matrix | existing matrix (should be generated from same mapper) |
References gridpack::math::BaseMatrixInterface< T, I >::ready().